package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class VersionFactory
{
    private VersionFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IVersion getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IVersion)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("1CAF4292") ,com.kingdee.eas.xbang.contract.IVersion.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IVersion getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IVersion)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("1CAF4292") ,com.kingdee.eas.xbang.contract.IVersion.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IVersion getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IVersion)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("1CAF4292"));
    }
    public static com.kingdee.eas.xbang.contract.IVersion getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IVersion)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("1CAF4292"));
    }
}